import { request } from '@/utils/request'

// 登录
export function login (data) {
  return request({
    url: '/api/login',
    method: 'post',
    data
  })
}

export function reg (data) {
  return request({
    url: '/api/reg',
    method: 'post',
    data
  })
}
